Returns detail number if there is any for the last error number that occurred, or zero if no error or no detail number.
Note this number does not get cleared unless you call the ClearError method.
Its not required that you clear it though since we automatically clear the internal error, while leaving this external error number for the Xojo developer to peek at.